- name
- The name of the control to look at its actual type to create.
- args
- An array of Object used to initalize the created control.
Visual Basic (Declaration) | |
---|---|
Overloads Public Function GetWorkstsationControl( _ ByVal name As String, _ ByVal defaultControl As Control, _ ByVal ParamArray args() As Object _ ) As Control |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public Control GetWorkstsationControl( string name, Control defaultControl, params object[] args ) |
Managed Extensions for C++ | |
---|---|
public: Control GetWorkstsationControl( string* name, Control defaultControl, params Object*[]* args ) |
C++/CLI | |
---|---|
public: Control GetWorkstsationControl( String^ name, Control defaultControl, ... array<Object^>^ args ) |
Parameters
All UI controls in the Medical Workstation are created using this function. This allows developers to override the default controls with their own custom controls. The name parameter is actually the class name of the control.
To provide your own type of a control. All you need to do is to update the WorkstationUISettings section in the application configuration file with the original controls name and the new type you want to use for that control.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family